package com.smedi.ismedi.inmail.core.application.command;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @className: UserActionLogPageCommand
 * @Description: TODO
 * @version: v1.0.0
 * @author: wzx
 * @date: 2022/9/30 11:06
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class UserActionLogPageCommand {

    /**
     * 分页行数
     */
    private long size;

    /**
     * 当前页数
     */
    private long current;

    /**
     * 排序字段
     */
    private String orderBy;

    /**
     * 是否升序
     */
    private Boolean asc;


    /**
     * 用户操作日期
     * */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String time;

    /**
     * 接口操作描述
     * */
    private String description;

    /**
     * 姓名
     * */
    private String name;
}